package com.cpi.cornpp.transports.form;

import org.apache.struts.action.ActionForm;

import com.cpi.cornpp.transports.view.CostElementView;

public class TransportForm extends ActionForm {
	
	private static final long serialVersionUID = -5551224907008953182L;
	
	private String id;
	private String code;
	private String description;
	private String capacity;
	private String priority;
	private String nomenclature;
	private int cornTypeId;
	private int costElementIndex;
	private String createNewTransport;
	private CostElementView costElementView;
	
	public TransportForm(){
		costElementIndex = -1;
		costElementView = new CostElementView();
	}
	
	public String getId() {
		return id;
	}
	public void setId(String aId) {
		id = aId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String aCode) {
		code = aCode;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String aDescription) {
		description = aDescription;
	}
	public String getCapacity() {
		return capacity;
	}
	public void setCapacity(String aCapacity) {
		capacity = aCapacity;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String aPriority) {
		priority = aPriority;
	}
	public String getNomenclature() {
		return nomenclature;
	}

	public void setNomenclature(String aNomenclature) {
		nomenclature = aNomenclature;
	}

	public CostElementView getCostElementView() {
		return costElementView;
	}
	public void setCostElementView(CostElementView aCostElementView) {
		costElementView = aCostElementView;
	}
	public int getCostElementIndex() {
		return costElementIndex;
	}
	public void setCostElementIndex(int aCostElementIndex) {
		costElementIndex = aCostElementIndex;
	}
	public String getCreateNewTransport() {
		return createNewTransport;
	}
	public void setCreateNewTransport(String aCreateNewTransport) {
		createNewTransport = aCreateNewTransport;
	}

	public int getCornTypeId() {
		return cornTypeId;
	}

	public void setCornTypeId(int cornTypeId) {
		this.cornTypeId = cornTypeId;
	}	
}